var listData = [
    {
        id: 100,
        name: "Calamus",
        des: "www.xxx.xyz",
        color: "#E1244E",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 123,
        delay: 120,
        fatherId: 0,
        tlevel: 1,
    },
    {
        id: 101,
        name: "Calamus1",
        des: "www.xxx.xyz",
        color: "#E1244E",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 0,
        fatherId: 100,
        tlevel: 1,
    },
    {
        id: 102,
        name: "Calamus2",
        des: "www.xxx.xyz",
        color: "#aaa",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 100,
        fatherId: 100,
        tlevel: 0,
    },
    {
        id: 103,
        name: "Calamus3",
        des: "www.xxx.xyz",
        color: "#aaa",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 123,
        fatherId: 100,
        tlevel: 0,
    },
    {
        id: 104,
        name: "Calamus4",
        des: "www.xxx.xyz",
        color: "#E1244E",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 200,
        fatherId: 100,
        tlevel: 0,
    },
    {
        id: 105,
        name: "Calamus5",
        des: "www.xxx.xyz",
        color: "#aaa",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 123,
        fatherId: 101,
        tlevel: 0,
    },
    {
        id: 106,
        name: "Calamus6",
        des: "www.xxx.xyz",
        color: "#E1244E",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 123,
        fatherId: 102,
        tlevel: 0,
    },
    {
        id: 107,
        name: "Calamus7",
        des: "www.xxx.xyz",
        color: "#E1244E",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 123,
        fatherId: 102,
        tlevel: 0,
    },
    {
        id: 108,
        name: "Calamus8",
        des: "www.xxx.xyz",
        color: "#aaa",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 123,
        fatherId: 102,
        tlevel: 0,
    },
    {
        id: 109,
        name: "Calamus9",
        des: "www.xxx.xyz",
        color: "#aaa",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 123,
        fatherId: 102,
        tlevel: 0,
    },
    {
        id: 110,
        name: "Calamus10",
        des: "www.xxx.xyz",
        color: "#aaa",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 123,
        fatherId: 102,
        tlevel: 0,
    },
    {
        id: 111,
        name: "Calamus11",
        des: "www.xxx.xyz",
        color: "#aaa",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 123,
        fatherId: 102,
        tlevel: 0,
    },
    {
        id: 112,
        name: "Calamus12",
        des: "www.xxx.xyz",
        color: "#aaa",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 300,
        fatherId: 103,
        tlevel: 0,
    },
    {
        id: 113,
        name: "Calamus13",
        des: "www.xxx.xyz",
        color: "#aaa",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 123,
        fatherId: 103,
        tlevel: 0,
    },
    {
        id: 114,
        name: "Calamus14",
        des: "www.xxx.xyz",
        color: "#aaa",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 123,
        fatherId: 108,
        tlevel: 0,
    },
    {
        id: 116,
        name: "Calamus15",
        des: "www.xxx.xyz",
        color: "#aaa",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 123,
        fatherId: 108,
        tlevel: 0,
    },
    {
        id: 117,
        name: "Calamus16",
        des: "www.xxx.xyz",
        color: "#aaa",
        content: "寒江孤影，江湖故人，相逢何必曾相识",
        value: 123,
        fatherId: 108,
        tlevel: 0,
    },
];
listData.forEach(function (v) {
    if (!v.delay) {
        v.delay = 200 * Math.random();
    }
});
export const list = listData;

export const nodes = [
    { id: "root", fatherId: '', isActive: false, isExpanded: true, node: { label: "思维导图", width: 150, height: 90, position: '大boss' }, attr: {} },
    // { id: "piniajs", fatherId: 'root', node: { label: "Pinia", width: 150, height: 90, isExpanded: true, position: '财务主管' }, attr: {} },
    // { id: "routerjs", fatherId: 'root', node: { label: "Router", width: 150, height: 90, isExpanded: true, position: '运维主管' }, attr: {} },
    // { id: "svg", fatherId: 'root', node: { label: "SVG", width: 150, height: 90, isExpanded: true, position: '工程主管' }, attr: {} },
    // { id: "test1", fatherId: 'svg', node: { label: "test", width: 150, height: 90, isExpanded: true, position: '员工' }, attr: {} },
    // { id: "test2", fatherId: 'svg', node: { label: "test", width: 150, height: 90, isExpanded: true, position: '员工' }, attr: {} },
    // { id: "test2", fatherId: 'routerjs', node: { label: "test", width: 150, height: 90, isExpanded: true, position: '工程维修员' }, attr: {} },
    // { id: "test3", fatherId: 'routerjs', node: { label: "Carrot", width: 150, height: 90, isExpanded: true, position: '机房巡检员' }, attr: {} },
    // { id: "test4", fatherId: 'piniajs', node: { label: "Apple", width: 150, height: 90, isExpanded: true, position: '财务成员' }, attr: {} },
    // { id: "test5", fatherId: 'root', node: { label: "Peer", width: 150, height: 90, isExpanded: true, position: '保安管理员' }, attr: {} },
    // { id: "test6", fatherId: 'test5', node: { label: "Lucky", width: 150, height: 90, isExpanded: true, position: '保安' }, attr: {} },
];
